﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSEPT
{
    public class Photo
    {
        public Photo()
        {
            init(0, new Event(), String.Empty, new User(), false);
        }
        public Photo(int id)
        {
            init(id, new Event(), String.Empty, new User(), false);
        }
        public Photo(int eventid, string location, int userid)
        {
            init(0, new Event(eventid), location, new User(userid), false);
        }
        public Photo(int photoid, int eventid, string location, int userid, bool istagged)
        {
            init(photoid, new Event(eventid), location, new User(userid), istagged);
        }
        private void init(int id, Event photoevent, string location, User photographer, bool istagged)
        {
            ID = id;
            PhotoEvent = photoevent;
            Location = location;
            Photographer = photographer;
            isTagged = istagged;

        }
        private int _ID;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }


        private Event _PhotoEvent;

        public Event PhotoEvent
        {
            get { return _PhotoEvent; }
            set { _PhotoEvent = value; }
        }
        
        private string _Location;

        public string Location
        {
            get { return _Location; }
            set { _Location = value; }
        }
        
        private User _Photographer;

        public User Photographer
        {
            get { return _Photographer; }
            set { _Photographer = value; }
        }
        private bool _isTagged;

        public bool isTagged
        {
            get { return _isTagged; }
            set { _isTagged = value; }
        }
        
        
        
        
    }
}
